package Task11;

public class Dog extends Animal {
    //重写父类方法
    @Override
    public void speak() {
        System.out.println("Dog:emmmmmmmmmmmmmmmmmmmmmmm");
    }
}
